package com.maodou.android.ui.page

import com.maodou.core.datastore.db.table.AccountEntry


// Nav3 键定义 backStack 的键类型
sealed interface AppRouteKey
data object SplashKey : AppRouteKey
data object MainKey : AppRouteKey
data object LoginKey : AppRouteKey
data object RegisterKey : AppRouteKey
data object ForgotKey : AppRouteKey
data object SearchKey : AppRouteKey
data class EditAccountKey(val account: AccountEntry? = null) : AppRouteKey
data object ImportKey : AppRouteKey
data object CategoryKey : AppRouteKey
data class Verify2faKey(val account: AccountEntry? = null) : AppRouteKey
data object ContactKey: AppRouteKey
data class DetailKey(val title: String, val id: Int) : AppRouteKey
data class WebViewKey(val url: String) : AppRouteKey
data class AccountDetailKey(val account: AccountEntry? = null) : AppRouteKey